<template>
  <div>
    <!-- 头部 -->
    <myheader title="每日秒杀好物">
      <template #left>
        <img src="../../../static/images/seckill/leftArrow-1x.png" @click="backLastUrl"/>
      </template>
    </myheader>
    <!-- 抢购的场次 -->
    <seckillactivity></seckillactivity>
  </div>
</template>
<script>
import seckillactivity from "./seckillactivity";
import myheader from "@/components/myHeader/myHeader";
export default {
  components: {
    seckillactivity,
    myheader,
  },
  methods: {
    backLastUrl() {
      //点击返回箭头回到首页
      this.$router.push("/home").catch(err => {});
      window.document.title = this.$route.meta.title;
    },
  },
};
</script>
<style lang="less" scoped>
.container {
  background-color: #f1f1f1;
  width: 100%;
  height: 100%;
  .tabs {
    position: relative;
    background-color: #333;
    height: 120px;
    text-align: center;
    .common {
      color: #bbb;
      height: 120px;
      .time {
        font-size: 23px;
        display: block;

        &:nth-child(1) {
          margin-top: 20px;
        }
      }
    }
    .active {
      color: #ffcf55;
    }
  }
}
.header {
  background-color: #333;
  line-height: 128px;
  color: #fff;
  img {
    width: 57px;
    height: 21px;
  }
}
/deep/.van-nav-bar__title {
  color: #fff;
}
</style>
